{extend name='layout/main' /}

{block name='main'}
<div class="title">客户查询 > 客户信息列表</div>
<div class="filter">
    <form action="/trade/custom/" method="get" id="filter_form">
        <span>客户名称：<input type="text" name="user"  value="{$user}"></span>
        <span>交易账号：<input type="text" name="account"  value="{$account}"></span>
        <span><input type="submit" value="查询"></span>
    </form>
</div>
<div class="table data_table">
    <table id="userlist">
        <tr>
            <th>编号</th>
            <th>用户名</th>
            <th>交易账号</th>
            <th>手机号</th>
            <th>银行签约状态</th>
            <th>昵称</th>
        </tr>
        {foreach $custom as $key=>$it}
        <tr>
            <td>{$key+1}</td>
            <td>{$it.user}</td>
            <td>{$it.account}</td>
            <td>{$it.phone}</td>
            <td>{if $it.state}是 {else}否 {/if}</td>
            <td>{$it.nickName}</td>
        </tr>
        {/foreach}
    </table>
</div>

<div class="page">
    {$custom->render()} <div class="page_record">共<strong>{$custom->total()}</strong>条数据，每页显示：<strong>{$custom->listRows()}</strong>条记录</div>
</div>


{/block}

